Added callback to routing so we can do auth checking etc, added logout method to application and created an object within the twig service provider to house template variables