Enhanced the login screen to respond to the keyboard and some events.