added flash notices with bootstrap styling