Please remove this part of the sample and just display a message explaining that at a public community is needed. This makes the sample overly complex.