implemented reception of POST requests for the device and classroom history collections