Added roles, counting, and push notifications