02.12.2016 - needs, but it's also a good excuse to play around with CakePHP 3, so here we are. You can load a component using Controller::loadComponent() . .. user-related functionality, including a LoginAction and LogoutAction ..