added session controller
mend