few changes to display errors on registrations