Moved sid to expressjs session. Not tested yet.