interaction between mongoDb and Nodejs