Session logic update