added registration error alerts