added registration error alert