Added debugs to do_POST()