add a session controller