res.locals.user still showing undefined in exports.index after adding app.use in config.js