It is the same login route. Just 2 different approaches.
First route
router.post(\'/login\', passport.authenticate(\'local\',{session:false}),async (r