flash_notices added for registration and form errors