sign in now works asynchronously