added geoip support to determine city and country