track session status in ui