Adding part of session control
Adding part of session control