Added navbar functionality to index.html