encrypt refactor
seet conf to use mongo as db
pretty-error
login using passport
login fixes
using curry instead of _.bind