fix syntax to "req.session.sync"