add server and mongodb