make validation async
Merge pull request #22 from searler/async_login

make validation async