added connection between layout service and controller