title: Support for multiple user types by Passport-local mongoose node.js
body: <p>I wanted two types of users logging in (User, Client). How exactly can I create localStrategies, serialize and deserialize user for both types in my app.js
  I have two separate schemas, both using the PassportLocalMongoose plugin.</p>
  
  <p>I currently configuraing my passport like below,</p>
  
  <pre><code>var User = require('./models/User');
  var Client= require('./models/Client');
  passport.use(new LocalStrategy(User.authenticate(), Client.authenticate()));
  passport.serializeUser(User.serializeUser(), Client.serializeUser());
  passport.deserializeUser(User.deserializeUser(), Client.deserializeUser());
  </code></pre>
  
  <p>The problem lies when I try to register. Registering as a User works, but as a client shows "Unauthorized" error.
  How can I fix this problem?</p>