code to crawl users