added login dialog to index page