add.php: renamed id to name for form submission