add helper function to handle broadcasting of messages to other users
add helper function that handles new room assignment.
add helper function to handle client disconnection