add REST resource for sending form data