tpl auth component