Fixed some errors and connected the wires to the frontend for appending a track to a room