working static server and returning geolocation object