added methods for updating user password