Added UI for login and index page.