update worker thread
merge login and book thread