changed the way login and signup work