got the main page layed out