Add express-session npm package, improve server/local modes switch, kudo_can_script cookie