Added filters for stats per user in history API
Merge branch 'master' into demo