Fixed handling for users with no messages and removed extraneous functions from ExampleClient