Added flash messages to be displayed in input_index.