Added pressing enter to submit the login and registration forms