tweaked sessions helper
Merge branch 'sign-in-out' of https://github.com/skilbjo/sample_app into sign-in-out

merge# Please enter a commit message to explain why this merge is necessary,