Use before_action instead of before_filter