Added functionality to remove data from forms upon submit