users#count etc&bugs fixed