Sending of messages allowed only if a valid username is supplied