switch to postgres, add player registration