set cookies and user to userDataStore