remove localStorage from endpoint