authorize command

Closes #3
Merge branch 'authorize'