delete item only if logged in