finished basic geolocation passing from client to server