refactored api controllers