added methods for update user and password