added ability to edit and update users in the backend