Process.php updated to add results to db