added ability to edit and update user