user registration error message fix