Adds error message flashes and profile removal buttons.