adding simple session tracking

also update npm dependencies