codeigniter endpoints for the dashboard app