check for the existence of this session variable and act accordingly.
That’s easy enough to do, but how do I “act accordingly”? How do I tell
my controller that, based on the presence of this session property,
connect to the database using these credentials instead of those?