Creating session control