public function __construct($request)
 {
     $this->_in_valid_context($request);
     $this->view = lib::smarty_factory();
     $this->autoRender = true;
     $this->_invoke($request);
 }