syntax of session controller fixed