Now checks to ensure password is correct before a user can be logged in