format message from user