added index

fixed navbar to work with index