Methods cleaned up

Check and create session methods clean up and working now.
Comments and Cleanup

Added some basic comments to the supporting functions at the top of the
file.

Delete stale sessions if asking for something with the appropriate
sessionID but too long ago. Need to fix that, it should delete if user
validates with different session ID.
Adding stale session cleanout

Stale sessions should not be able to be reinitiated. Make sure they get
deleted even if a new session comes along and there is no "reason" to
not reuse the ID.