added flash notices / errors