Modified url utils to work when running app on localhost and should now resolve url for dhis as well