Basic error handling for wrong registration input is handled