Local Authentication in Node.js app with mongo backend