fix user api