next is to response the selections to user using json