getting categories to local database, but not showing them nestled