updated user api registration error