Setting validate index page