validates urls