 
 MemberManagement = React.createClass
   render: ->
+    allMembers = update @props.teacherInformation, {$push: @props.memberInformation}
+    allMembers = _.without allMembers, (member) -> @props.userInformation["tid"] != member["tid"]
+
     memberInformation = <ListGroup>
-        {@props.memberInformation.map ((member, i) ->
+        {allMembers.map ((member, i) ->
           <MemberManagementItem key={i} gid={@props.gid} refresh={@props.refresh} {...member}/>
         ).bind this}
       </ListGroup>

      @setState update @state, $merge: resp.data
    ).bind this

    apiCall "GET", "/api/group/member_information", {gid: @props.gid}
    .done ((resp) ->
      @setState update @state, member_information: $set: resp.data
    ).bind this

  pushUpdates: (modifier) ->

      @props.refresh()
    ).bind this

  switchUserRole: (uid, role) ->
    apiCall "POST", "/api/group/teacher/role_switch", {gid: @props.gid, uid: uid, role: role}
    .done ((resp) ->
      apiNotify resp
      @props.refresh()
