Add session controller and session tests.