make sure registered items and account object are cleared away in logout