method joinGame on button click