text: module.exports = (req, res, next) => {
      if (req.isAuthenticated) {
          next()
      } else {
          res.status(401).json({
              errors: [{
                  msg: "Please log in"
              }]
          })
      }
  }