setting up header and footer