Now using callbacks with get_tasks and get_categories to call appropriate function based on page loaded (index or tasks for now)