Update the first example to use user record

The first example in the README should be updated to use the user record
type instead of a simple string to represent the username. It was
causing the process to terminate if you followed along with the code.