edited for deployment and edit ownership auth