Fixed Completed task function, added response messages