added custom session controller