Updated SQL: Added user_id