title: Search for user with Mongoose
body: <p>User's have accounts and can comment using a <code>Comment</code> Mongoose model. 
  Is it possible to allow a user to enter a <code>username</code> in an text input and generate all user associated comments? </p>
  
  <p>I've been trying to use <code>db.users.find({"name")</code> but I'm not sure how to pass a <code>username</code> from an input field to search. Any suggestions? </p>
  
  <p>Thanks! The comment model is below. It connects each comment with a user. </p>
  
  <pre><code>var commentSchema = new mongoose.Schema({
      body: String,
      author: {
          id: {
              type: mongoose.Schema.Types.ObjectId,
              ref: "User"
          },
          username: String
  
      }
  })
  </code></pre>