Added user_id to tables