added server-side handling of adding new tasks