added the user ID and restrictions