add - todo on api use in controller