Added before_filter to controllers
Added before filter to pictures