apis working and local storage implemented for both user-submitted and auto-detected locations