modify user dictionary to match Denis demand and REST