added API for join/quit to table