Optimization about login_system.