Now using before_action instead of before_filter.