changing connection logic to polling
adding join existing game mechanism