update user model and modify db to add user_id and delete name