add template html files and call them from server code