Added additional functionality to GET endpoints.

If geolocation is provided in GET request, the geolocation is set for
the user in the database.