add login form to index.html, close #6