Display error message in case registration of the user fails

...in particular due to duplicate username