persistent session working in most basic example