         isEditable: true
     )
 
-    #fetch the user's name
+    #fetch the logged-in user's name
     @user = $.ajax(
       url: "/api/user"
     )
 
   addNewTeam : ->
 
+
     @user.then(
       (userData) =>
         team =
-          name : "test"
+          name : @ui.inputName.val()
           owner : "#{userData.firstName} #{userData.lastName}"
           roles : [{ name : "admin" }, { name : "user" }]
           isEditable : true


  showModal : (modalView) ->

    if @$el.find("input[type=checkbox]:checked").length > 0
      view = new modalView({userCollection : @collection})
      view.render()
      @ui.modalWrapper.html(view.el)

      view.$el.modal("show")

    else
      Toast.error("No user is selected.")

        </thead>
        <tbody></tbody>
      </table>
      <div class="form-actions navbar-fixed-bottom">
        <div class="btn-group">
          <a class="btn btn-primary" id="new-team">
