hooking service into ui