an example for using UserDbEditor