added do action to json controller