added parameter to users for count and updates to notes