design the main page