private function fail_not_authenticated() { if ($this->user->is_default()) { self::raiseError('Not authenticated.'); } }