public static bool Login(string userName, string password, bool persistCookie = false)
        {
            MySqlSimpleMembershipProvider provider = VerifyProvider();
            bool success = provider.ValidateUser(userName, password);

            if (success)
            {
                FormsAuthentication.SetAuthCookie(userName, persistCookie);
            }
            return(success);
        }