added NameService to list.html. Removing redundant code.