server posts back json data when tasks created and html task has id that matches task id in the database