added location periodic checking and updates to server