added basic session and user managing for node.js