error handling during account creation