title: Find function on mongoose issue
body: <p>I'm trying to return a set of documents stored in a database via mongoose. What I want to do is filter the results and get the set of results that match the passed userid.  </p>
  
  <p>This is my user.js</p>
  
  <pre><code>module.exports.findMatchID = function(userid,callback)
  {
  const q3 = {userid: userid};
  User.model2.find(q3,callback);
  
  }
  </code></pre>
  
  <p>and this is my approutes.js</p>
  
  <pre><code>route.post('/manageproject',function(req,res)
  {
  const userid = req.body.userid._id;
  
  User.findMatchID(userid,function(err,user) {
      if (err) throw err;
      if (!user) {
         return res.json({state: false, msg: "Not found"});
      }
      else{
          res.json({
              state:true,
              user:{
                  id:user._id,
                  proTitle:user.proTitle,
                  proDescription:user.proDescription,
                  memberList:user.memberList,
                  edc:user.edc
                   }
                 });
         }
     });
  });
  </code></pre>
  
  <p>I just keep getting a {} as the result object with nothing in it. What am I doing wrong and how do I fix this? The findOne function works well as expected but I only get one document back.</p>