Added support for pressing enter on login