Remove renderFlash because it's unnecessary for now