separate login attempt to different methods