added twig view options like cache, template root and autoescape, enabled CsrfGuard middleware