creating category and searching for categories added