Preventing form to submit when user hit "Enter" after authorization code?