title: Simple login page in nodejs using express and passport with mongodb
body: <p>I created a simple login form in using Jade and Express at /login
  the form data is sent via POST to /login</p>
  
  <p>At first It was just string based matching ( if username== &amp;&amp; password== ) then redirect to /home or redirect to /login</p>
  
  <p>Simple.</p>
  
  <p>Now I want to make it database driver, username and password to be stored on a mongodb database, match username password from db and do the proceedings.</p>
  
  <p>I wish to use passportJS for this, but I'm totally struck at it, from creating database to configuring passport.</p>
  
  <p>Can someone just help me how to make a simple database driven login page ? I'm very new to nodejs stuff.
  Any help would be seriously appreciated</p>