refactoring header menu with twig render