update index with login and nav page