Add cookie message to layout template