created session class