Manageusers is the "main" unit in the sense that everything get funneled back to that unit
for accessing database tables and all the login /logout functions. I consider it the "main" unit to which manage_users.cgi interfaces between thr web pages and the guts of the program.
The loggedonuser the ID of the user far accessing various other pieces of data such a database records "owned" by the user.
The change from LoggedOn_user_id to GetLoggedOn... and back again was a result of trying an exported function result to pass the id vs a scalar variable. Neither worked.
Other functions/.scalars are exported just fine. Not this one!!!