now creates collection in database for each user