removed some unnecessary stuff from the server version and added it so that pressing enter on the log in screen is the same as clicking the log in button