public function isAdmin()
 {
     $user = AuthController::getAuthenticatedUser();
     return $user->admin;
 }