updated server
integrated mongoDB