add log info to see type of user.name