layout out main page