public function Init()
 {
     parent::Init();
     if (FBApplicationBase::IsAdminUser()) {
         //were good
     } else {
         $this->Redirect('/index.php');
     }
 }
 public function RenderAdminBar()
 {
     if (!is_null($this->strAdminBarTpl)) {
         if (FBApplicationBase::IsAdminUser()) {
             require $this->strAdminBarTpl;
         }
     }
 }