how to check if a user changed their password