completed SessionController.