saving session obj after writing to it
Merge pull request #5 from julianlam/master

saving session obj after writing to it