Connect UI to client