debug setup issues
fix user api bug