if(result && ! err){
delete result.playersJoined[req.userId]
result.save()
}
if(result && ! err){
var test={}
for(var key in result.playersJoined){
test[key]=result.playersJoined[key]
}
delete test[req.userId]
result.playersJoined=test
result.save()
}