use mongodb: check user login (part 1)
resolve conflits in app.js
resolve conflicts in app.js (again)