public async Task <IActionResult> OnGet()
        {
            var helper = new UserProfileHelper(this.Configuration, this.token);

            if (this.userProfile.Firstname == null)
            {
                var response = await helper.GetProfile(token.username);

                if (response != null)
                {
                    userProfile.Username   = response.Username;
                    userProfile.AvatarOne  = response.AvatarOne;
                    userProfile.Firstname  = response.Firstname;
                    userProfile.Lastname   = response.Lastname;
                    userProfile.AddressOne = response.AddressOne;
                    userProfile.AddressTwo = response.AddressTwo;
                    userProfile.Email      = response.Email;
                    userProfile.Cell       = response.Cell;
                    userProfile.Country    = response.Country;
                    userProfile.Zip        = response.Zip;

                    userProfile.NameOnCard       = response.NameOnCard;
                    userProfile.PaymentType      = response.PaymentType;
                    userProfile.ExpirationOnCard = response.ExpirationOnCard;
                    userProfile.CardNumber       = response.CardNumber;
                    userProfile.CVV = response.CVV;
                }


                if (response != null)
                {
                    return(RedirectToPage("ProfileView"));
                }
                else
                {
                    return(RedirectToPage("ProfileAdd"));
                }
            }
            else
            {
                return(RedirectToPage("ProfileView"));
            }
        }