setting user id in data