updated add/delete page (uses new checkPermission() now); fixed deprecated change_mod() call in functions.php