forbid loading for some pages when no contacts are present