add protect_from_forgery with: :null_session