public async Task <IActionResult> OnGet()
        {
            var user = await _userService.GetUserAsync(User);

            if (user == null)
            {
                return(NotFound($"Unable to load user with ID '{_userService.GetUserId(User)}'."));
            }

            HasAuthenticator = await _userService.GetAuthenticatorKeyAsync(user) != null;

            Is2faEnabled = await _userService.GetTwoFactorEnabledAsync(user);

            IsMachineRemembered = await _signInService.IsTwoFactorClientRememberedAsync(user);

            RecoveryCodesLeft = await _userService.CountRecoveryCodesAsync(user);

            return(Page());
        }