public function byCategory($cat)
 {
     Utils::isLogged();
     $cat_id = Projects::getCategoryID($cat);
     $projects = Projects::getAllProjectsByCategory($cat_id, Utils::getUserID());
     return $this->returnView($projects, 2, $cat);
 }