added check for valid url format in add server