Form action not sending to create action

hi all,
I’m trying to set up a simple form and getting some odd behavior in the
resulting action.

Following is my code for the form:

<% form_for @user_session do |f| %>
<%= render ‘shared/error_messages’, :object => f.object %>

<%= f.label :email %>
<%= f.text_field :email %>

<%= f.label :password %>
<%= f.password_field :password %>

<%= f.submit "Submit" %>

<% end %>

Following is the logic in the “new” action for the controller associated
with this view:

def new
@title = “Login”
@user_session =

I’m using Authlogic for my UserSession:

class UserSession < Authlogic::Session::Base
def to_key
new_record? ? nil : [ self.send(self.class.primary_key) ]

Following is the HTML output of the form:

Why isn’t the action = to “/user_sessions” - where is that additional
bit coming from and how can I get rid of it?