finished ip geolocation basic functionality