user can now login by pressing the enter key after typing in a valid
password