trying to make the gateway bug trigger.  failing
clean up some sax parsing

fixing a bug that Craig found, but need a test first
logout was skipping session destroy
logout was skipping session destroy
Merge branch 'bug/sax_parser' into feature/modularize