trying setting g.user to get to show_templates