 
   (.on socket "pause"
     (fn [position]
+      (println "Received pause signal with position" position
+               "from" (.-id socket))
       (rooms/get-room-from-user-id (.-id socket)
         (fn [room]
           (rooms/pause-current-track room position


  (.on socket "track-complete"
    (fn []
      (println "Received track-complete signal")
      (rooms/get-room-from-user-id (.-id socket)
        (fn [room]
          (rooms/client-sync room "track-complete" (.-id socket)


  (.on socket "clear-songs"
    (fn []
      (println "Received clear-songs signal from" (.-id socket))
      (rooms/get-room-from-user-id (.-id socket)
        (fn [room-id]
          (rooms/clear-songs room-id
