Minor fix

Cleaned up a half-finished modification to the Database module. Also
commented out the database printout.
Beginning session management front-side

Starting to do the database calls to get a new session ID and write them
out, as well as check existing sessions for goodness.