updated models, integrated mongodb, added passport authentication via REST