Edit the api for users