fix ENTER key event in login page