Update extension.php

New Auth functions for Twig