Add users method in API.