more work on users api.