A hacky function to support putting users into the permission DB from JS
Merge remote-tracking branch 'upstream/master'
TORIFY!!!!

Hooked up the template to Tor. This was really just work for the test cases.
Merge pull request #19 from yaronyg/master

TORIFY!