session class migration