add API_KEY constant to resource;