Make session a class member variable