match server handling join properly, other functions untested