Persistent DB and session expiry