Added persistent sessions with cookie secrets