adding main pages