text: const passport = require('passport');
  const JwtStrategy = require('passport-jwt').Strategy;
  const { ExtractJwt } = require('passport-jwt');
  const LocalStrategy = require('passport-local').Strategy;
  const { JWT_SECRET } = require('./configuration');
  const User = require('./models/user');
  
  // JSON WEB TOKENS STRATEGY
  passport.use(new JwtStrategy){
      jwtFromRequest: ExtractJwt.fromHeader('authorization'),
      secretOrKey: JWT_SECRET
  }