user insert and update persistence