Implementing login session storage