Adding geolocation api