set my controller to query data from rails, and my addGrocery method to add new data