Fix join and leave display. If user belongs to the group they will only
see leave button, and vice versa