Partially created a session handling