ActionController::InvalidAuthenticityToken


#1

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