added links to flash messages