         for doc in docs
           results.push doc.profile.fullname
         callback err, results
-  
+
   setEmailPreferences: secure (client, prefs, callback)->
     JUser.fetchUser client, (err, user)->
       if err

    else
      callback new KodingError "access denied for guest."

  oldFetchRepos = @::fetchRepos  
  fetchRepos: secure (client,callback)->
    if @equals client.connection.delegate
      oldFetchRepos.call @,callback
    else
      callback new KodingError "access denied for guest."    

  oldFetchDatabases = @::fetchDatabases  
  fetchDatabases: secure (client,callback)->
    if @equals client.connection.delegate
      oldFetchDatabases.call @,callback

        console.log 'aint exempt'
    else
      callback new KodingError 'Access denied'

  unflagAccount: secure (client, flag, callback)->
    {delegate} = client.connection
    JAccount.taint @getId()
