Login when enter key pressed