         callback null, info
 
 
-   createMountpoint = (options, callback)->
+   createMountpoint : (options, callback)->
    
      # create mount point for remote resource
      # /Users/<username>/RemoteDrive/<remote_hostname>

      keyPath = path.join config.usersPath,username,'.ssh','koding.pem'
      sshopts = [ "-o", "ssh_command=/usr/bin/ssh -i #{keyPath} -o #{config.sshfs.optsWithKey},fsname=#{remotehost}", "#{remoteuser}@#{remotehost}:/", options.mountpoint]
      console.log sshopts  
      createMountpoint options, (err, res)=>
        if err
          callback err
        else
          spawnWrapper config.sshfs.sshfscmd, sshopts, (err, res)=>
            if err?
              log.error error = "[ERROR] couldn't mount remote SSH server #{remotehost}: #{err}"
              callback error

      options.mountpoint = path.join config.usersPath, username, config.baseMountDir, remotehost
      
      # fetch user ID for curlftfs command
      @spawnWrapper '/usr/bin/id', ['-u',username], (err,res)=>
        if err?
          log.error error = "[ERROR] Can't find user ID: #{err}"
          callback error
        else
          log.info "[OK] user ID for user #{username} is #{res}"
          ftpfsopts = "#{config.ftpfs.opts},uid=#{res},gid=#{res},fsname=#{remotehost},user=#{remoteuser}:#{remotepass}"
          @createMountpoint options,(err,res)=>
            if err
              callback err
            else
              @spawnWrapper config.ftpfs.curlftpfs,['-o', ftpfsopts, remotehost, options.mountpoint] , (err, res)=>
                if err?
                  log.error error = "[ERROR] couldn't mount remote FTP server #{remotehost}: #{err}"
                  callback error
