testing sockets, foreign keys to db, instances list, qrcodes for payment