implemented an option for joining games