added flow for collections and users