encoding session storage vars for demo