public function all($category = null, $take = 10, $skip = 0)
 {
     if (!$this->isLogged()) {
         header("Location: /users/login");
         exit;
     }
     $model = new ProductModel();
     $products = $model->all($take, $skip, $category);
     return new View($products);
 }