modify login and index page