added mongoose to devDependencies in package json file