add common header and footer