better ux for registration process error handling