fix user playlist checking; add type enum to schema [close #188]