LoginForm detect, some async fixes