public function __construct() { parent::__construct(); parent::login(); $this->auto_render = FALSE; if (!request::is_ajax()) { return FALSE; } }