Improve security

Change-Id: Ia98bb629c8c81f609d3a5e4d023616a95f9c4248
diff --git a/dead.php b/dead.php
index 294a6e5..b1fa160 100644
--- a/dead.php
+++ b/dead.php
@@ -1,9 +1,9 @@
 <?php
+	require_once("php/security.php");
+
 	date_default_timezone_set("Europe/Madrid");
 
-	// Forget cookies
-	setcookie('user', '', -1, "/");
-	setcookie('password', '', -1, "/");
+	Security::logout();
 ?>
 
 <html>