diff --git a/images/de39ed37-a629-4306-ba39-b538ecdd04d3.webp b/images/de39ed37-a629-4306-ba39-b538ecdd04d3.webp
new file mode 100644
index 0000000..2c99a4e
Binary files /dev/null and b/images/de39ed37-a629-4306-ba39-b538ecdd04d3.webp differ
diff --git a/login/forgot/index.html b/login/forgot/index.html
index 0ee3ee2..974142f 100644
--- a/login/forgot/index.html
+++ b/login/forgot/index.html
@@ -41,7 +41,7 @@
-
+
diff --git a/login/register/index.html b/login/register/index.html
index 2ae3922..612af03 100644
--- a/login/register/index.html
+++ b/login/register/index.html
@@ -47,7 +47,7 @@
-
+
diff --git a/scripts/forgot_password.cgi b/scripts/forgot_password.cgi
new file mode 100644
index 0000000..b8033e9
--- /dev/null
+++ b/scripts/forgot_password.cgi
@@ -0,0 +1,96 @@
+#!/bin/bash
+
+echo "Content-type: text/html"
+echo ""
+
+# Log the raw POST data for debugging
+read POST_DATA
+echo "POST Data: $POST_DATA" >> /tmp/forgot_password.log
+
+# URL decoding function
+urldecode() {
+ local url_encoded="${1//+/ }"
+ printf '%b' "${url_encoded//%/\\x}"
+}
+
+# Parse the form data using IFS
+USERNAME=""
+EMAIL=""
+
+IFS='&' # Split fields by "&"
+for param in $POST_DATA; do
+ IFS='=' read -r key value <<< "$param"
+ key=$(urldecode "$key")
+ value=$(urldecode "$value")
+
+ case $key in
+ username) USERNAME="$value" ;;
+ email) EMAIL="$value" ;;
+ esac
+done
+
+# Check if the user exists in the database
+DB_PATH="/path/to/your/database.db"
+USER_EXISTS=$(sqlite3 $DB_PATH "SELECT COUNT(*) FROM users WHERE username='$USERNAME' AND email='$EMAIL';")
+
+if [ "$USER_EXISTS" -eq 0 ]; then
+ cat <
+Reset Failed
+
+User not found!
+Try again
+
+