fixed owner validation for edit and delete projects