add the basic layout for the main page