Corrected namespace.
Everything almost working.
Added example output. Although this code is generated, I want to be able to point to it online.
Getting user works.....which is useful because it contains the scopes.