implementing get playlist functionality