moved header and footer to index