Session and Activity class