diff --git a/HEADS b/HEADS
index 0f1273e..6cade97 100644
--- a/HEADS
+++ b/HEADS
@@ -1 +1 @@
-{"engine": {"master": "4aa9a28ed5ee2ba039c8f0f97575194742951d48"}}
\ No newline at end of file
+{"engine": {"master": "f883b4d678a57303a1267468abaf0468cc76d7e1"}}
\ No newline at end of file
diff --git a/app/mourne_user_controller.cpp b/app/mourne_user_controller.cpp
index 2139e66..b8f6f97 100644
--- a/app/mourne_user_controller.cpp
+++ b/app/mourne_user_controller.cpp
@@ -114,6 +114,12 @@ void MourneUserController::render_register_request_default(Request *request, Reg
request->compile_and_send_body();
}
+void MourneUserController::render_login_success(Request *request) {
+ request->body = "Login Success!
";
+
+ request->send_redirect("/");
+}
+
void MourneUserController::render_already_logged_in_error(Request *request) {
request->body += "You are already logged in.";
diff --git a/app/mourne_user_controller.h b/app/mourne_user_controller.h
index c5951ca..7233e74 100644
--- a/app/mourne_user_controller.h
+++ b/app/mourne_user_controller.h
@@ -14,6 +14,7 @@ class MourneUserController : public UserController {
public:
void render_login_request_default(Request *request, LoginRequestData *data);
void render_register_request_default(Request *request, RegisterRequestData *data);
+ void render_login_success(Request *request);
void render_already_logged_in_error(Request *request);
void render_settings_request(Ref &user, Request *request, SettingsRequestData *data);