add header and footer templete