$controller does not implement an isAuthorized() method.
Error: An Internal Error Has Occurred.
Stack Trace
CORE\Cake\Controller\Component\Auth\BaseAuthorize.php line 72 → ControllerAuthorize->controller(GamesController)
CORE\Cake\Controller\Component\AuthComponent.php line 414 → BaseAuthorize->__construct(ComponentCollection, array)
CORE\Cake\Controller\Component\AuthComponent.php line 376 → AuthComponent->constructAuthorize()
CORE\Cake\Controller\Component\AuthComponent.php line 326 → AuthComponent->isAuthorized(array)
[internal function] → AuthComponent->startup(GamesController)
CORE\Cake\Utility\ObjectCollection.php line 130 → call_user_func_array(array, array)
[internal function] → ObjectCollection->trigger(CakeEvent)
CORE\Cake\Event\CakeEventManager.php line 246 → call_user_func(array, CakeEvent)
CORE\Cake\Controller\Controller.php line 670 → CakeEventManager->dispatch(CakeEvent)
CORE\Cake\Routing\Dispatcher.php line 183 → Controller->startupProcess()
CORE\Cake\Routing\Dispatcher.php line 161 → Dispatcher->_invoke(GamesController, CakeRequest, CakeResponse)
APP\webroot\index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse)浏览器 关了就好了 
但是 写 入session的 一写入 就错了