added feature to execute login by just pressing enter in the login form