Send button

retrieves data and inserts records on click