Fixing edit and delete for normal users