working with indexController.php, loading category page