restrict user to enter chat without name