add header and footer template