xhr commands implemented