added fetching of categories from profile page if profile page exists in the crawl index