private void CreateUser()
        {
            try
            {
                UserInfo         user = User;
                UserCreateStatus rc   = membershipUtils.CreateUser(PortalId, PortalSettings, ref user);
                if (rc == UserCreateStatus.Success)
                {
                    //award points to inviter user
                    FeatureController.AwardRegisterInvitePoints(InviteCode, PortalId, user.UserID);

                    //hide the successful captcha
                    captchaRow.Visible = false;

                    //Associate alternate Login with User and proceed with Login
                    if (!String.IsNullOrEmpty(AuthenticationType))
                    {
                        AuthenticationController.AddUserAuthentication(User.UserID, AuthenticationType, UserToken);
                    }

                    string strMessage = CompleteUserCreation(rc, user, true, IsRegister);
                    if ((string.IsNullOrEmpty(strMessage)))
                    {
                        Response.Redirect(membershipUtils.GetRedirectURL(base.PortalSettings, ReturnURL), true);
                    }
                }
                else
                {
                    AddLocalizedModuleMessage(UserController.GetUserCreateStatus(rc), ModuleMessage.ModuleMessageType.RedError, true);
                }
            }
            catch (Exception exc) //Module failed to load
            {
                Exceptions.ProcessModuleLoadException(this, exc);
            }
        }