     domains
     # newsletter holds announcements config.
     newsletter
-    # is group creator already a member 
+    # is group creator already a member
     alreadyMember
   } = body
 
   redirect ?= '/'
   context   = { group: slug }
   clientId  = getClientId req, res
-
-  # tmp: copy/paste from ./register.coffee - SY
-  # cc/ @cihangir
 
   return handleClientIdNotFound res, req  unless clientId
 

          res.redirect 301, redirect

    if alreadyMember
    then JUser.login client.sessionToken, req.body, createGroup
    else JUser.convert client, req.body, createGroup




        allowedDomains  : convertToArray domains # clear & convert domains into array
      , owner, (err, group) ->

        return res.status(500).send "Couldn't create the group."  if err or not group

        queue = [
