update for Rails 4 on Filters, Sessions,