Mad updates to backend.
added geolocation stuff