changed usercontroller to sessioncontroller