pages search, adding pages with categories