add header and footer temlat