added users tests
fixed adding global user var too late to twig