how to check if a user has change their password