diff --git a/app/views/admin/login.html.erb b/app/views/admin/login.html.erb
new file mode 100644
index 0000000..e5f22fa
--- /dev/null
+++ b/app/views/admin/login.html.erb
@@ -0,0 +1,8 @@
+
Admin Login
+
+ <%= form_with(url: "/admin/login_submit", method: :post, local: true) do %>
+
+
+
+ <% end %>
+
\ No newline at end of file
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
new file mode 100644
index 0000000..b01a63f
--- /dev/null
+++ b/config/initializers/session_store.rb
@@ -0,0 +1 @@
+Rails.application.config.session_store :cookie_store, key: "forcek.in", expire_after: 30.minutes
diff --git a/config/routes.rb b/config/routes.rb
index 57f4b1f..3460f26 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -27,4 +27,12 @@ Rails.application.routes.draw do
get "bot/players" => "bot#players"
get "bot/player/:id" => "bot#player_name"
get "bot/summary" => "bot#summary"
+
+ # Admin
+ get "admin", to: "admin#index"
+ post "admin/set_alt", to: "admin#set_alt"
+ post "admin/clear_alt", to: "admin#clear_alt"
+ get "admin/login", to: "admin#login"
+ post "admin/login_submit", to: "admin#login_submit"
+ get "admin/destroy", to: "admin#destroy"
end
diff --git a/test/controllers/admin_controller_test.rb b/test/controllers/admin_controller_test.rb
new file mode 100644
index 0000000..f891499
--- /dev/null
+++ b/test/controllers/admin_controller_test.rb
@@ -0,0 +1,7 @@
+require "test_helper"
+
+class AdminControllerTest < ActionDispatch::IntegrationTest
+ # test "the truth" do
+ # assert true
+ # end
+end