added join game functionality