Added Validate URL Function