getting geolocation on initial load