better connection to mongo handling
trying new socketio server code