update getRoot to accept connection instead of username
update docs