UrlRepository expects host data to include http:// and the port
Implemented the UrlRepository class to use a database