Added flash notices helper and layout