Kaa. Added user access token to method attachEndpointToUser.