MainPage with short code