removed middleware to enable use with rails-api