delete after logout for compatibility