validation that url does/does not exist before row insert into db