addnavbar and index