fix session bug
fix exception syntax
merge changes
Fix pep8 complaints