create controller for client

create controller for client