create global header and footer