Session check is added to node.js