post/put calls have content-type application/json
removed user api, and changed to json data
cleaned up hook enable/set flow