Changed API examples

Added with client token and /users endpoint looping
Fixed issue with headers already sent