implemented getting registry url.