Added broadcast method to send messages to the clients