added index
added service response and tests