legion join hook

executed first time when quorum is reached