changed sessions_controller.