register in mainPage is ready