Stopped writing patients and users collection