change index page and register py