implemented first policy, flash displayed if signup failed