Corrected errors in the headers and the footer

Fixed errors and changed the name of MainIndex in landingSite