         |> put_flash(:error, "Invalid credentials!")
     end
   end
+
+  def delete(conn, params) do
+    conn
+    |> Guardian.Plug.sign_out()
+    |> redirect(to: offer_path(:index))
+  end
 end

defmodule ElixirJobsWeb.AuthController do
  use ElixirJobsWeb, :controller

  alias ElixirJobs.Users

  plug :scrub_params, "auth" when action in [:create]


         {:ok, password} <- Map.fetch(auth_params, "password"),
         {:ok, admin} <- Users.auth_admin(email, password) do
        conn
        |> Guardian.Plug.sign_in(admin)
        |> redirect(to: offer_path(:index))
    else
      _ ->
