Created mainPage