Even with that approach I still need to know the current user's Id. I wanted to leverage the macro engine to provide the current user's info.
I ended up just injecting the current user info via a Webpart. Of course with his approach, I had to paste my spa markup into a page layout.