Render header and footer