click the submit button to login