allowing connexion when pressing enter key in login modal