doc updates with sample code for WebAppClient