Will log the user in and check password based on the values in the database