Detect enter key press to login