Show error message when registration fails