title: node.js passport user schema set it manualy
body: <p>first sorry for my english ;) 
  second my question :</p>
  
  <p>describtion :
  I have :</p>
  
  <pre><code>var mongoose = require('mongoose');
  // define the schema for our user model
  var userSchema = mongoose.Schema({
      facebook         : {
          id           : String,
          token        : String,
          email        : String,
          name         : String
      }
  });
  // create the model for users and expose it to our app
  module.exports = mongoose.model('User', userSchema);
  </code></pre>
  
  <p>to use it with passport on a node.js . </p>
  
  <p>...</p>
  
  <pre><code>var User = require('../app/models/user');
  </code></pre>
  
  <p>i dont connect to mongodb , since i use mysql to store my sessions .</p>
  
  <p>the only stuff i dont understand  is the _id value , comes it from passport , or sessions ? </p>
  
  <p>question :
  what i have todo  to get a user model (object) so it is working together with passport/session ? or are there some method i need anyway , so it is better to get the user model from mongoose  ?</p>
  
  <p>sincerley rakondark </p>