Add before filter to remove flash messages