fix some bug, correct nodemon config file, and make app connect mongoDB replica set
change server hostname and make app connect mongoDB replica set