 
   (.on socket "file-download-request"
     (fn [track-id]
-      (println "Received file download request for " track-id)
+      (println "Received file download request for " track-id
+               "from" (.-id socket))
       (rooms/get-room-from-user-id (.-id socket)
         (fn [room]
           (rooms/get-music-file room track-id

  (defonce io (.listen socketio server)))

(defn handle-hotjoin [socket room-id]
  (println "User has hotjoined")
  (rooms/get-all-music-info room-id
    (fn [room-music-info]
      (if-not (nil? room-music-info)


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