Added authorization support
Merge pull request #84 from hatchback/master

Added authorization support