ActionController::InvalidAuthenticityToken

You will need: skip_before_filter :verify_authenticity_token in your sessions_controller.rb