added authorization decorator. #12
Merge branch 'auto-decorator'