add pre-loader in a single thread
add PreLoader works in an other thread and changed some login