added enter-key function to /signup and /login