added mongoose and make User workable under mongodb.