set up some functionality for joining an existing match