Add session class
Update view class