added mongoose, and database opens properly