readding the authorization stuff
Merge pull request #4 from mplaza/melabranch

readding the authorization stuff