work on session controller