replaceing index page