title: How to access Passport user in main.js and how to add middleware?
body: <p>I want to access my user which is logged in. My serialize and deserialize user is valid. I see every info like part of a console.log(req).</p>
  <p>Part of console.log(req) is include my user information but i can't access it with req.user it returns undefined.</p>
  <p>This is my (req) log:</p>
  <pre><code>user: User {
      dataValues: {
        id: 1,
        UserName: 'testuser',
        UserPw: '1234567',
        ResetPasswordToken: '3c7560f9c888227a64a90e271d2b58a0630f24c6dde46458d2981058d007120e',
        ResetPasswordTokenExpire: 2020-12-20T15:49:51.000Z,
        createdAt: 2020-12-20T15:49:51.000Z,
        updatedAt: 2021-01-12T15:24:20.000Z
      },
      _previousDataValues: {
        id: 1,
        UserName: 'testuser',
        UserPw: '1234567',
        ResetPasswordToken: '3c7560f9c888227a64a90e271d2b58a0630f24c6dde46458d2981058d007120e',
        ResetPasswordTokenExpire: 2020-12-20T15:49:51.000Z,
        createdAt: 2020-12-20T15:49:51.000Z,
        updatedAt: 2021-01-12T15:24:20.000Z
      },
      _changed: Set(0) {},
      _options: {
        isNewRecord: false,
        _schema: null,
        _schemaDelimiter: '',
        raw: true,
        attributes: [Array]
      },
      isNewRecord: false
    },
    route: Route {
      path: '/success',
      stack: [ [Layer] ],
      methods: { get: true }
    },
    [Symbol(kCapture)]: false,
    [Symbol(RequestTimeout)]: undefined
  }
  </code></pre>
  <p>And i want to access with my view engine(handlebars)</p>
  <p>I think i access req.user it would be :
  req.locals.user = req.user</p>