user api bug fixed