updated cookbook example [Creating per-user resources] to access request through bundle object