created example of session class