broke the location query out as its own function separate from how the result is displayed
new function GenerateOneSession - formerly integrated in index.php
changed var names: sessions_array to session_array; sessions_meta to sessions_all
more functionality included in GenerateOneSession; new function GenerateJSON