added flash messages to list controller