auth now works - mostly
Merge pull request #16 from Mallics/master

auth now works - mostly