[Logic] added methods to MainPage class