display errors on the registration page.