fix user persitence