add login form to index page