Adding GET for categories
Fixing ObjectId error