Fixed the user_id association bug