Verifying the length of message entered