Added code to modify user.