public function returnJson() { $this->response->token = App_CSRFUtil::getInstance()->getToken(true); App_Headers::JSON(); echo json_encode($this->response); }