Updated the client join and create functions. The join is still buggy and causes the client to crash, which then makes the server unable to close when ctlr-c is pressed. Will fix that next.