changing the way the login works