using local storage for lat and long