finished AJAX communication and playlist functionality on server