Refactored authentication flow
Update dependencies
Merge pull request #3 from omniphx/refactor/authentication-flow

Refactored authentication flow