added ajax to the send request action