added the main page layout