added handling for existing users accidentally loggin in with registration form. Logs user in