nav and protect index