work in progress
implemented multiple brokers
now supports sending user identification info to the backend