Added leave session capability, modified a comment in joinSession to reflect its actual purpose