disabled auto-login
Completed customized messages and fixed some potential multithreading problems