added real api endpoints; example showing loader case