Fix unused variable warning.
Add endpoint for getting a list of user objects.