Designed the layout of main page