added login with enter key