updated the table structure and included oauth migration script.