built functionality to join event from invite