[refactor] login refactor with async hooks
Merge pull request #9 from flatiron/refactor-hooks

[refactor] login refactor with async hooks