add API_URL constant so we don't have to hard code it all over the place