Logout after purge and purge client