Switch from using session middleware in connect to using express-session directly