added flash notice in the new view