Replaced session storage by permanent DB storage