added a REST method to get the catagory from category table based on category id