added ability to edit and update users