Made client side API calls