const authRole = (req, res, next) => { const token = req.cookies.jwt; if (token) { jwt.verify(token, \'my secret\', (err, decodedToken) => {