Added some stuff to make the server send the playlist to the client