only submit the login request if the user filled something in