helper for clearing accounts session