Revert "debug messages"

This reverts commit 21c7752aa2829b418ad55a9692cc59b7098c288f.
Revert "remove error code"

This reverts commit 692a36b98f1f1896981a9522b161b34904d41ba7.
Revert "remove remaining state check"

This reverts commit 3b8a34de8d2463f396b78aa36162323c1dd34e84.
Revert "typo"

This reverts commit df1962497354bd26b3edcfda941bc5846cf18887.
Revert "disable state checking"

This reverts commit f9045cd3a0eba27f06de983f4bd650975a833bf1.
Revert "parse spotify api response using JSON.parse"

This reverts commit 7e51193328992730c46b6158a3226d73804832d9.