security->protect(); $this->user->logout(); self::pluginHandle()->call('logout'); @session_destroy(); $this->response->goBack(null, $this->options->index); } }