BUG Clean up the logOut and session destructon routines.