Hashed credentials in database are compared to user inputted username and password.