fix user endpoint config