A Smarty plugin for authority