adding customer to api through all layers