hooked up the editor to the api controllers