aded map and geolocation functionality