Removed deprecated setFlash() calls in controllers