Refactored Session setFlash