index.php validation changes part 1