add session controller unit test