const generateJWT = (id, email, role) => { return jsonwebtoken.sign( {id, email, role}, process.env.SECRET_KEY, {expiresIn:"24h"} ) }