Add ownership checking for form editing