validated the urls