Adding geolocation API