Logic for session.