it does work using Chrome but not Firefox, working on calling the api from the page