#266, adjust login logout behavior and deposit and withdraw state reload behavior