Implementation de mainPage by Carlos