error handling with new registered user