adding api controllers