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

	# room is set if we're editing an existing room
	if instance.room
		instance.groupName.set(instance.room.name)
		instance.room.usernames?.forEach (user) ->
			console.log user
			instance.selectedUserNames[user] = user
			instance.selectedUsers.set instance.selectedUsers.get().concat user	

	# other conversation members
	instance.otherMembers = _.without(instance.data.members, Meteor.userId())
	# labels that all members have in common
	instance.allowedLabels = []
	# reactive trigger set to true when labels returned asynchronously from server

Template.privateGroupsFlex.events
	'autocompleteselect #pvt-group-members': (event, instance, doc) ->
		instance.selectedUsers.set instance.selectedUsers.get().concat doc.username
		# 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()

