Added message validation and username display.