PassportJS rename "user" object
You can change it in initialization:
passport.initialize( { userProperty: 'student' // defaults to 'user' if omitted })
This code set: req.student
What you will do next depends on you and the used framework.
Look at source code:Passport source code