getLocationByHostIPAPI() now writes to outcome DB