Adding session class