adding cookie handling to scraper