added enter-handling in login