add a template page
change index to be xhtml