restore index page, move signin to a external page