Add json for types. Load types from DB. Load user points & types