app console logs results with ajax request when form is submitted