Move functions from user module to scrapper module