basic version of the pairing server