Pretty up demo code
Adding authenticated decorator, thanks to folz