Add code to retrieve urls from server