private function initApps()
    {

        // Run app specfic functions

        /* @var $app \Core\Amvc\App\Abstractapp */
        foreach ($this->apps as $app) {

            // Call additional Init() methods in apps
            if (method_exists($app, 'Init')) {
                $app->Init();
            }

            switch ($app->getName()) {
                case 'Core':

                    $config = $this->config->getStorage('Core');

                    // Create home url
                    $type = $this->user->isGuest() ? 'guest' : 'user';
                    $route = $config->get('home.' . $type . '.route');
                    $params = parse_ini_string($config->get('home.' . $type . '.params'));

                    $config->set('url.home', $app->url($route, $params));

                    break;
            }
        }
    }