session class sample