adding global flash policy. adding client side validation form signup