submit login when pressing [enter]