Added functionality for join/leave lobby