API for managing users, manageUser.js