finishing up form and data submission