Passed the login data to the user model