add limitAccessToAnonymousUsers and limitAccessToAuthenticatedUsers functions