diff --git a/backend/MESSAGE_CODES b/backend/MESSAGE_CODES
new file mode 100644
index 0000000000000000000000000000000000000000..c39bd9d9da1406a1b0fa1126d4065fa85b4b7eed
--- /dev/null
+++ b/backend/MESSAGE_CODES
@@ -0,0 +1,19 @@
+
+
+List of message codes used in the frontend
+
+
+
+Kratos codes:
+=============
+
+4000006 The provided credentials are invalid, check for spelling mistakes 
+        in your password or username, email address, or phone number.
+
+
+
+Stackspin codes:
+================
+
+S00001   Please confirm your credentials to complete this action.
+
diff --git a/backend/web/login/login.py b/backend/web/login/login.py
index a5238c025e6f1538dd6cc2f43ebb35af2e019570..7e0ebe72124c5c383347e98077f1fb0393325350 100644
--- a/backend/web/login/login.py
+++ b/backend/web/login/login.py
@@ -168,7 +168,6 @@ def login():
                     else:
                         message['type'] = 'info'
 
-                current_app.logger.info("Appending message")
                 messages.append(message)
 
         except Exception as ex:
diff --git a/backend/web/templates/login.html b/backend/web/templates/login.html
index a120dc0ba10f29318eff8ac19d3ca4272affd6b8..79db1512e62920d9c24866caf1c3f6be0c85ceb3 100644
--- a/backend/web/templates/login.html
+++ b/backend/web/templates/login.html
@@ -11,8 +11,8 @@
     $(document).ready(function() {
         flow_login();
     });
-</script>
-<script>
+
+    // Render messages
     {% for message in messages %}
         renderMessage('{{ message['id'] }}', '{{ message['message'] }}', '{{ message['type'] }}');
     {% endfor %}