     id.substr 0, length
 
   getDbUsers : (dbName,callback)->
-    log.debug 'does call'
 
     db = new mongo.Db dbName, @server, native_parser: false
     db.open (err,db)=>

              usernames = []
              for user in items
                usernames.push user.user
              console.log "miki",usernames
              callback usernames

  fetchDatabaseList :(options, callback)->


options =
   username : "gokment"   
   dbName    : "dlskdldskdlskd1111skdlsk"

#mongoDB.createDatabase options,(err,res)->
#  console.log err,res

mongoDB.fetchDatabaseList options,(err,res)->
  console.log err,res
#dbs =  ['gokment_c219e4c7','gokment_df539bb7']
#for db in dbs
#  do (db)->
