diff --git a/.gitignore b/.gitignore
index 49adb33..9479d1a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,7 +8,7 @@
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
-
+.idea/*
# User-specific stuff:
.idea/workspace.xml
.idea/tasks.xml
diff --git a/website/mysql_config.xml b/website/mysql_config.xml
deleted file mode 100644
index de2d929..0000000
--- a/website/mysql_config.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
- localhost
- myhyvesbookplus
- mhbp
- qdtboXhCHJyL2szC
-
\ No newline at end of file
diff --git a/website/public/.htaccess b/website/public/.htaccess
new file mode 100644
index 0000000..f08898a
--- /dev/null
+++ b/website/public/.htaccess
@@ -0,0 +1,12 @@
+Options +FollowSymLinks
+RewriteEngine On
+
+ErrorDocument 404 /error404.jpg
+
+RewriteCond %{SCRIPT_FILENAME} !-d
+RewriteCond %{SCRIPT_FILENAME} !-f
+
+# Resolve .php file for extensionless php urls
+RewriteRule ^([^/.]+)$ $1.php [L]
+
+RewriteRule ^profile/([A-z0-9]+)$ profile.php?username=$1 [NC]
\ No newline at end of file
diff --git a/website/public/API/loadMessages.php b/website/public/API/loadMessages.php
new file mode 100644
index 0000000..e30acc8
--- /dev/null
+++ b/website/public/API/loadMessages.php
@@ -0,0 +1,13 @@
+
@import url("styles/chat.css");
+
\
+
-
+
diff --git a/website/views/chat-view.php b/website/views/chat-view.php
index a23a1c5..549a5ff 100644
--- a/website/views/chat-view.php
+++ b/website/views/chat-view.php
@@ -1,52 +1,74 @@
-