Added url check to validator