session controller updated