working code on adding name to user