adding index and security pages.