Implementing client controller.