begin to build out the session controller