 
 module.exports = class TeamUsernameTab extends KDTabPaneView
 
-  kallback = (formData) ->
-
-    { storeNewTeamData, createTeam, joinTeam, getTeamData } = KD.utils
-    { join } = getTeamData().signup
-
-    if join
-      storeNewTeamData 'join', formData
-      joinTeam()
-    else do ->
-      storeNewTeamData 'username', formData
-      createTeam success : -> KD.singletons.router.handleRoute '/Team/Stacks'
-
-
   constructor:(options = {}, data)->
 
     super options, data
-
-    teamData = KD.utils.getTeamData()
-    { @alreadyMember } = teamData.signup
 
     @createSubViews()
 
 
   createSubViews: ->
+
+    teamData = KD.utils.getTeamData()
+    { @alreadyMember } = teamData.signup
 
     @addSubView new MainHeaderView
       cssClass : 'team'

      return new KDNotificationView title : "Sorry, your group domain and your username can not be the same!"

    KD.utils.usernameCheck username,
      success : -> kallback formData
      error   : ({responseJSON}) =>

        {forbidden, kodingUser} = responseJSON

        tagName : 'h5'
        partial : 'please enter your Koding password'

      wrapper.addSubView @form = new TeamLoginAndCreateTabForm callback : @bound 'createTeam'

    else

