Simplify interface of Google examples and fix the name and comment of userName variable

My idea was to move the description of these files from the class comment block to separate error messages. This is why I decided to keep these try blocks separate.

If you don't like the idea, I'll combine these blocks and put the description of the files in a common comment block.