 Template.privateGroupsFlex.events
 	'autocompleteselect #pvt-group-members': (event, instance, doc) ->
 		instance.selectedUsers.set instance.selectedUsers.get().concat doc.username
-
-		instance.selectedUserNames[doc.username] = doc.name
-
+		# TODO display full name.  Originally this displayed full name, but we changed this 
+		# when we reused this template to edit a room.  The room only has usernames, not the 
+		# full name and we have to add a Method call to retrieve the full name from a username
+		instance.selectedUserNames[doc.username] = doc.username
 		event.currentTarget.value = ''
 		event.currentTarget.focus()
 

	instance = this
	instance.selectedUsers = new ReactiveVar []
	instance.selectedUserNames = {}
	instance.error = new ReactiveVar []
	instance.groupName = new ReactiveVar ''
	# if relabelRoom (the roomId) is specified in context, then we're editing a room

		}
	securityLabelsContext: ->
		return {
			onSelectionChanged: Template.instance().onSelectionChanged
			isOptionSelected: Template.instance().isOptionSelected
			isOptionDisabled: Template.instance().isOptionDisabled
			securityLabels: Template.instance().allowedLabels
		}
	securityLabelsInitialized: ->
		return Template.instance().securityLabelsInitialized.get()
