replacing name with UserName