add the function of showing usermsg