add main page layout