fix registration page error messages (#109)