Fixed bug when logout appears after its designated logout date