made changes to category controller
merged