adding ability to send messages directly to the backend