Fix the admin register call.
Merge pull request #11 from nessita/fix-admin-register

Fix the admin register call.