adding session class