Fixing redirecting after logout