index page validation