implementing join to invite