Added twig extension and update user