logout validation bug fix
fix time shift