Adding duplicate url checking