add login and modified index.html