Added geolocation functionality