Add validation of URLs