The session needs to be initialized for logout