added registration persistence