set an associations between the user and the document