Edit bug for null user and remove pin for destroy user