Refactor getIpAndData with async
Add hash to db when new URL