send location when user shakes the device
refactor locations.html