put UserT into session to solve logout problem