start threads on login