Exploring authorization in Rails 4 with a Gulp frontend