added aysnc authentication with callback
Merge pull request #3 from voidabhi/async-auth

added aysnc authentication with callback