Adds loginnames to the groupnames in Ajax, needs more attention.