added flash messages refined display