use new async API
make autoLogin a property of credential status