reset cache after login/logout