fixed syntax error in session controller