check login
changed create account to single method