const passport = require('passport');
const LocalStrategy = require('passport-local').Strategy;

passport.use(new LocalStrategy((username, password, done) => {
    const user = {
        username: 'arnellebalane',
        email: 'arnellebalane@gmail.com'
    };
    done(null, user);
}));

@@ -121,16 +121,53 @@
 trategy(
+%7B%0A    usernameField: 'identifier'%0A%7D, 
 (usernam
@@ -190,16 +190,16 @@
 e) =%3E %7B%0A
-
     cons
@@ -209,16 +209,31 @@
 ser = %7B%0A
+        id: 1,%0A
         
@@ -333,9 +333,294 @@
 r);%0A
-
 %7D));%0A
+%0Apassport.serializeUser((user, done) =%3E %7B%0A    done(null, user.id);%0A%7D);%0A%0Apassport.deserializeUser((id, done) =%3E %7B%0A    const user = %7B%0A        id: id,%0A        username: 'arnellebalane',%0A        email: 'arnellebalane@gmail.com'%0A    %7D;%0A    done(null, user);%0A%7D);%0A%0Amodule.exports = passport;%0A

update passport config with serializer and deserializer