integrate client and server controllers