Strange authlogic logout behavior

I am using authlogic for my application's authentication. If I decide
to login with an account and then immediately logout, I get an error.

Unknown action

The action 'show' could not be found for UserSessionsController

The server log in development says:

Started GET "/user_session" for at Sun Nov 07 13:28:31 -0800

AbstractController::ActionNotFound (The action 'show' could not be found
for UserSessionsController):

within rescues/layout (0.9ms)

Now if I login and the click on some other links within the application
and then logout, the logout function works as it should.

user_sessions controller
class UserSessionsController < ApplicationController
before_filter :require_no_user, :only => [:new, :create]
  before_filter :require_user, :only => :destroy

  def new
    @user_session =

  def create
    @user_session =[:user_session])
      flash[:notice] = "Login successful!"
      redirect_to :controller => "list"
      render :action => :new

  def destroy
    flash[:notice] = "Logout complete. Have a nice day!"
    redirect_to root_url


application layout file snippet
<% if current_user %>
<li><a><%= link_to current_user.login, edit_user_path(:current)
<li><%= link_to "logout", user_session_path, :method => :delete %></li>
<% else %>

<li><%= link_to "log In", new_user_session_path %></li>

<% end %>

The controller I redirect to after login didn't have all of the
javascript files included in its unique layout. I changed the layout
there to include all of the files and now the logout works properly.