Add custom Redirect component, flash_success and flash_warning elements, and update Posts controller to use new component.