title: How to do simple mongoose findOne with multiple conditions?
body: <p>How can I perform this findOne query with multiple conditions? Or a substitute method (preferrably an equally simple one) if it is not possible...</p>
  
  <pre><code>User.findOne({ 'email': email }, function (err, user) {
  
          if (err) {
              request.session.flash = {
                  type: "danger",
                  message: "Failed to log you in, error occurred."
              };
              response.redirect("/snippet/");
          }
  </code></pre>
  
  <p>I have tried</p>
  
  <pre><code>User.findOne({ 'email': email, 'pwd': pwd }, function (err, user) {
  </code></pre>
  
  <p>and</p>
  
  <pre><code>User.findOne({ 'email': email $and 'pwd': pwd }, function (err, user) {
  </code></pre>
  
  <p>and</p>
  
  <pre><code>User.findOne({ 'email': email}, $and: {'pwd': pwd}, function (err, user) {
  </code></pre>