diff --git a/main.py b/main.py
index 884c442e7c344003252e7eec282180edaff9f202..268e364e39a135e9269b45900e12059a3b7f41e0 100644
--- a/main.py
+++ b/main.py
@@ -222,7 +222,7 @@ def login():
     service = request.args.get("service")
     if(service == "github"): return redirect("https://github.com/login/oauth/authorize/?client_id=" + GITHUB_CLIENT_ID + "&scope=user") #redirect the user to the github login page and ask for access to user data (name, email, ...)
     if(service == "google"): return redirect("https://accounts.google.com/o/oauth2/v2/auth?client_id=" + GOOGLE_CLIENT_ID + "&scope=profile%20email%20openid&response_type=code&access_type=offline&include_granted_scopes=true&redirect_uri=" + url_scheme + "://" + domain[0] + "/user/google-callback")
-    abort(404)
+    return render_template("login.html", cookieNotice=cookieNotice)
 
 @app.route("/user/google-callback")
 def authorizeGoogle():
diff --git a/templates/login.html b/templates/login.html
new file mode 100644
index 0000000000000000000000000000000000000000..917e44fef960289cbc6104ed33905de494b94b9c
--- /dev/null
+++ b/templates/login.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html lang="en">
+   <head>
+        <link href="/static/style.css" rel="stylesheet">
+        <link href="/static/socialSignin/css/buttons-si.css" rel="stylesheet">
+        {% if cookieNotice %}
+        <script type="text/javascript" id="cookieinfo" src="/static/cookieinfo.js" ></script>
+        {% endif %}
+        <title>URL shorter</title>
+   </head>
+
+   <body>
+      <div class="login-page">
+         <div class="form">
+            <div class="box box-a">
+               <a class="btn-si btn-si-a btn-github" style="color: white;" href="/user/login?service=github">Sign in with GitHub </a><br><br><br><br>
+               <a class="btn-si btn-si-a btn-google" style="color: white;"href="/user/login?service=google">Sign in with Google</a>
+           </div>
+         </div>
+      </div>
+      
+      <script src="/static/external/jquery/jquery.js"></script>
+   </body>
+</html>
\ No newline at end of file