before_filter updated for most of the controllers