Replace before_filter with before_action, new rails 4 syntax