Added changes to fix security issue where logged out and no leader showed content.