       callback null
 
   @changeUsernameByAccount = (options, callback)->
-    { account, username, clientId, isRegistration } = options
+    { account, username, clientId, isRegistration, groupName } = options
     account.changeUsername { username, isRegistration }, (err) =>
       return callback err   if err?
       return callback null  unless clientId?

          queue.next()

      ->
        _client =
          connection : delegate : account
          context    : group    : 'koding'

        ComputeProvider.createGroupStack _client, (err)->
          if err?


      =>
        if aNewRegister and username?
          options = {
            account        : account
            username       : username
            clientId       : clientId
            isRegistration : yes
            groupName      : client.context.group
          }

          @changeUsernameByAccount options, (err, newToken_) =>
            return callback err  if err
            newToken = newToken_
