Syntax error in session.js