Checks if the user has already joined the activity before adding the new participant.