refactor google api examples. activeUsers works