Adding functionality for updating a users password