adding login to index.html