fixed authentication bug
Merge pull request #16 from shaladi/dev

fixed authentication bug