       slideInfo.set code
 
       remoteQueu = new Firebase "#{baseFirebaseUrl}qc/"
-      
       console.log remoteQueu
       
+      this.showConnectionBoard() 
       remoteQueu.limit(200).on 'child_added', (snapshot) ->
         console.log(snapshot)
         message = snapshot.val()
         console.log(message)
         switch message.cmd
           when 'handshake'
-            # decide if we scan allow this
-            if localStorage['allow']? and message.from == localStorage['allow']
-              return true
+            #if localStorage['allow']? and message.from == localStorage['allow']
+              #return true
 
-            if confirm("Allow connection from #{message.from}?")
-              @connection.set('connected_from', message.from)
+            if confirm("Allow connection from #{message.name}?")
+              connection.set('connected_from', message.from)
               localStorage['allow'] = message.from
-              return true
-            end
           when 'next'
-            remote.next
+            remote.next()
           when 'prev', 'previous'
-            remote.previous
+            remote.previous()
           when 'current'
-            remote.getCurrentSlide
+            remote.getCurrentSlide()
           else
             console.log "Not implement"
         #Okay, remove that command
         r = new Firebase("https://qcommander.firebaseio-demo.com//#{connection.get('token')}/qc/".concat(snapshot.name()))
         r.remove()
-      this.showConnectionBoard() 
 
     showConnectionBoard: () ->
       return this.render()

      console? && console.log @container

    getCurrentSlideScreenshot: () ->

    next: () ->
      $('.overnav > .next', @container).click()
    previous: () ->
      $('.overnav > .prev', @container).click()


  class SlideshareRemote extends RemoteControlDriver
  class ScribdRemote extends RemoteControlDriver

  class Remote 
    constructor: (@url) ->
      @driver = {}
      this.setupRemote()
    # Based on url, load corresponding remote driver  
    setupRemote: () -> 
      @driver = switch
        when @url.indexOf('://speakerdeck.com/') > 1 then new SpeakerdeskRemote
        when @url.indexOf('://slideshare.net/') > 1  then new SlideshareRemote
        when @url.indexOf('://www.scribd.com/') > 1  then new ScribdRemote
        else new RabbitRemote

    previous: () ->
