Time for action — adding a validate function to ensure that only creators can update or delete their documents