Show error message if registration failed

#150 closed