fixed the model name for category and added basics to categories controller