Added the GET PUT with user criteria. Added the category model function for user criteria.