Fix: Solve some problem of redirect when logout