Add client side code to add and delete tasks