clean up session controller