Fix: fix the login bug in simulation