added report function with ajax request to the onus server