change GET to POST in check.php