added user_id column and index