added flash notice and completd form