Session login extension.
Merge pull request #29 from boarder2/master

Session extension stuff.