mongodb, socketio and url construction left to be learned and done