changing the way users register/login to the server.