Adding handlePageRedirection() to the WebCrawler