added some atrr to User and Thread class