updated categoriesList in model
updated getCategories function in model