                               console.log err
                             else
                               console.log 'user link was added'
-  
+
   @logout = bongo.secure ({connection}, callback)->
     connection.remote.fetchClientId (clientId)->
       visitor = JVisitor.visitors[clientId]

  #       callback new KodingError 'No visitor instance was found.'
  #     else
  #       constructor.one {username}, callback
  
  createNewMemberActivity =(account, callback=->)->
    bucket = new CNewMemberBucket
      anchor      : account

          status: $in : ['active','sent']
        }, (err, invite)->
          # callback null, yes, invite
          if err or !invite?
            callback new KodingError 'Invalid invitation ID!'
          else
            callback null, yes, invite
      else
        callback new KodingError 'Invitation code is required!'

  @verifyKodingenPassword = ({username, password, kodingenUser}, callback)->
    if kodingenUser isnt 'on'
      callback null
