connected ui to service