Removed unneeded lines from session setting.
Make 'Frondend' use $app['twig']->addGlobal. This way the variables are available later on, in places like custom extensions and {{ menu }}