User was undefined when removing pin