Multi-threads support when user login.