user tpl and app