fixes to stats / user attributes, add new bin to query users
fix two specs broken by last commit