added revealing module structure to geolocation functions, tweaked sessions controller to handle sorting properly