Add before_filter to controllers for alerts