Implement Session class and make it available in ControllerBase.