fixed problem of some data persisting after logout