Create newResource.php