completed adding task endpoint