Added user_id to links