made name field required
name should be entered before entering room
should join room before sending a message