Added validateTest post method to index.php