diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFine.html b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFine.html
new file mode 100644
index 0000000..a4a17d8
--- /dev/null
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFine.html
@@ -0,0 +1,53 @@
+
+
+
+
+ Add Fines
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFine.php b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFine.php
new file mode 100644
index 0000000..3fc0cc8
--- /dev/null
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFine.php
@@ -0,0 +1,30 @@
+prepare("INSERT INTO Fines (Fine_amount, Fine_points, Incident_ID) VALUES (:amount, :points, :incident)");
+ $stmt->bindParam(":amount", $amount);
+ $stmt->bindParam(":points", $points);
+ $stmt->bindParam(":incident", $incident);
+ $stmt->execute();
+
+ echo json_encode(array("message" => "ok"));
+}
+else if (isset($_SESSION["username"]) && !isset($_SESSION["admin"]))
+{
+ echo json_encode(array("message" => "not logged in as admin"));
+}
+else
+{
+ echo json_encode(array("message" => "Not logged in "));
+}
+{
+}
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFines.html b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFines.html
deleted file mode 100644
index 566549b..0000000
--- a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addFines.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- Title
-
-
-
-
-
\ No newline at end of file
diff --git a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/newVehicle.html b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addVehicle.html
similarity index 85%
rename from DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/newVehicle.html
rename to DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addVehicle.html
index 90fd74b..2c96e28 100644
--- a/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/newVehicle.html
+++ b/DIS-COMP4039-CW2-psxrp11-20450011/psxrp11-20450011_InstallationFiles/addVehicle.html
@@ -9,13 +9,13 @@
@@ -58,7 +58,7 @@