add session controller.