logging in works with the enter key