committing my code for the login window; you can login by pressing enter in either the username OR password text box