Modified user.js to use mongoDB

Change-Id: I57d9c6e373702ea19a0203364dfc31488da526f9
Password comparison

Change-Id: I54dd6336a7790a4eb59551f42efbf11347cfdef9
mongoDB and signup

Change-Id: I343b2388205138e8ae68f4cead5a1147efd9caa1
debug
Debug signup
debugf signup
Merge branch 'develop' into staging