Replace username with user_key in permissions checks
Merge pull request #104 from avalonmediasystem/bugfix/user-key-rights

Bugfix/user key rights