Added functionality for /api/users REST resources