Fetching the user session from the backend on page load and purging
it in the backend when logging out.
Changes following CR.
Merge pull request #9 from my-koop/mg_fetch_session

Fetching the user session from the backend on page load and purging