added server-side check on Spotify switch