Changes to mainPage