added log in geolocation call