 
   queue = [
 
-    ->
+    (next) ->
       koding.fetchClient clientId, context, (client_) ->
         client = client_
 


  ]

  daisy queue


generateJoinTeamKallback = (res, body) ->

          return res.status(500).send client.message

        client.clientIP = (clientIPAddress.split ',')[0]
        next()

    (next) ->
      # checking if user exists by trying to login the user
      JUser.login client.sessionToken, body, (err, result) ->
        errorMessage          = err?.message
