changed before_filter to protect new resources