New methods for updating and validating passwordS