adding template.xhtml