added index
fixed json parse, and steps
edited query and responses