set up main page of the sys