adde confirm.php template, minor fixes