Convert manageUsers.js.
Improve user API responses.