make user_template_xml return the proper template

user_template_xml was returning the whole template instead of the user template