added session controller