Added validation for project ownership in order to prevent deleting a project by its member.