backend for duet website