adds edit and update to users controller