approve.php modified