Show proper error messages in registration form. Closes #36