use accessToken in twig and JavaScript
Layout optimisation