FIXED apiKey retreival from localStorage